#include "rjm32f10x.h"
#include "delay.h"

void delay_us(unsigned int i)
{
	i = i * 96;     //sysclk = 96000000HZ   
	while (i > 0)
		i--;
}

void delay_ms(unsigned int j)
{
	j = j * 96000;     //sysclk = 96000000HZ   
	while (j > 0)
		j--;
}
